package com.learn.lod.bad;

import java.util.ArrayList;
import java.util.List;

/**
 * 老板
 */
public class Boss {

    public void askRoom(Employee employee){
        List<Room> rooms = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            rooms.add(new Room());
        }
        employee.checkRoom(rooms);
    }
}
